package com.ww.springstudy.controller;

import com.ww.springstudy.aspect.MyListener;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2022-06-29 16:37
 */
@RestController
@RequestMapping("listener")
public class ListenerController {


    @MyListener
    @RequestMapping("/test")
    public String test() {
        return "Yes";
    }
}
